package com.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.crm.entity.CrmClue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.vo.Clue;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author junxian,dou
 * @since 2024-11-25
 */
public interface CrmClueMapper extends BaseMapper<CrmClue> {


    IPage<CrmClue> pageList(@Param("crmCluePage") Page<CrmClue> crmCluePage, @Param("name") String name, @Param("company") String company, @Param("mphone") String mphone, @Param("source") String source, @Param("state") String state, @Param("owner") String owner, @Param("phone") String phone);

    Clue getClueDeatil(@Param("id") String id);

    void deleteClueById(@Param("clueId") String clueId);
}
